CC=g++#定义变量
.PHONY:all
all:calserver calclient
calserver:CalServer.cc
	$(CC) -o $@ $^ -std=c++11  -ljsoncpp
calclient:CalClient.cc
	$(CC) -o $@ $^ -std=c++11 -ljsoncpp
.PHONY:clean
clean:
	rm -f calserver calclient